package com.xiaotu.common.model;

public class NewsModel
{
    public static final String NEWS_TV = "1";
    public static final String NEWS_STAR = "3";

    private String id;
    private String name;
    private String type;//目标类型
    private String title;
    private String url;
    private String content;
    private String mediaName;
    private String imageUrl;
    private String accountName;
    private String pubTime;
    private long timestamp;

    public NewsModel()
    {
    }

    public NewsModel(String type, String id, String name, String title, String url, String content, String mediaName,
            String imageUrl, String accountName, String pubTime)
    {
        this.type = type;
        this.id = id;
        this.name = name;
        this.title = title;
        this.url = url;
        this.content = content;
        this.mediaName = mediaName;
        this.imageUrl = imageUrl;
        this.accountName = accountName;
        this.pubTime = pubTime;
        this.timestamp = System.currentTimeMillis();
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public long getTimestamp()
    {
        return timestamp;
    }

    public void setTimestamp(long timestamp)
    {
        this.timestamp = timestamp;
    }

    public String getMediaName()
    {
        return mediaName;
    }

    public void setMediaName(String mediaName)
    {
        this.mediaName = mediaName;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getAccountName()
    {
        return accountName;
    }

    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getPubTime()
    {
        return pubTime;
    }

    public void setPubTime(String pubTime)
    {
        this.pubTime = pubTime;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }
}
